package com.diko.aclservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author Emma Li
 * @date 2020/9/11 - 18:45
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.diko"})
@MapperScan("com.diko.aclservice.mapper")
@EnableDiscoveryClient /*启动nacos*/
@EnableFeignClients
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class,args);
    }
}
